/**
 * @file https_client.h
 * @author your name (you@domain.com)
 * @brief
 * @version 0.1
 * @date 2023-06-21
 *
 * @copyright Copyright (c) 2023
 *
*/
#ifndef HTTPS_CLIENT_H
#define HTTPS_CLIENT_H
#ifdef __cplusplus
extern "C" {
#endif

#define HTTP_HOST "v0.yiketianqi.com"
#define HTTP_WEEK_PATH "free/week?unescape=1"
#define HTTP_DAY_PATH "free/day?unescape=1"

char Week_Weather_PATH[64];  //&appid=475XXXX&appsecret=dL1XXXX
char Day_Weather_PATH[64];   //&appid=475XXXX&appsecret=dL1XXXX
char* https_get_request(const char* host, const char* https_url);
void https_get_weather_task(void* arg);
#ifdef __cplusplus
}
#endif
#endif